Manager: Resource Manager



Carbon supports the Resource Manager, with the following exceptions, which primarily involve ROM resource functions and functions that access the resource map:

* There is no ROM in Mac OS X, so the ROM-related functions RGetResource and TempInsertROMMap are not supported.

* There is no way to directly walk the resource chain. Instead, Carbon supplies a small number of new functions for proper management of the resource chain.

* The function RsrcMapEntry, which provides an interface to the map handle format, is not supported.

* The low-memory global variables JCheckLoad, TopMapHndl, CurMap, and SysMapHndl are not supported.

Note also that you should not attempt to store resources in the system heap, since you will not have the same access to the system heap as you do in previous versions of the Mac OS.

Supported  AddResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  addresource

Use AddResource instead. Not available in Carbon.

Supported  CallResErrProc

Supported  ChangedResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  CloseResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  Count1Resources

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  Count1Types

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  CountResources

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  CountTypes

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  CreateResFile

Not available in Carbon.

Unsupported  createresfile

Not available in Carbon.

Under Evaluation  CreateResFileFSRef

Not available in Carbon.

Supported  CurResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DetachResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DetachResourceFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DisposeResErrUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  FSpCreateResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  FSpOpenOrphanResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  FSpOpenResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  FSpResourceFileAlreadyOpen

Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.

Supported  Get1IndResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  Get1IndType

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  Get1NamedResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  get1namedresource

Use Get1NamedResource instead. Not available in Carbon.

Supported  Get1Resource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetIndResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetIndType

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetMaxResourceSize

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetNamedResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  getnamedresource

Use GetNamedResource instead. Not available in Carbon.

Supported  GetNextFOND

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetNextResourceFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetResAttrs

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetResFileAttrs

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetResInfo

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  getresinfo

Use GetResInfo instead. Not available in Carbon.

Supported  GetResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetResourceSizeOnDisk

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetTopResourceFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  HCreateResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  HomeResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  HOpenResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  InitResources

Not available in Carbon.

Supported  InsertResourceFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  InvokeResErrUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  LoadResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  NewResErrProc

Supported  NewResErrUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  OpenResFile

Carbon does not support MFS calls. Use HFS+ calls instead. Not available in Carbon.

Unsupported  openresfile

Not available in Carbon.

Under Evaluation  OpenResFileFSRef

Not available in Carbon.

Supported  OpenRFPerm

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  openrfperm

Use OpenRFPerm instead. Not available in Carbon.

Supported  ReadPartialResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  RegisterResourceEndianFilter

Supported  ReleaseResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  RemoveResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  ResError

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  ResErrProcPtr

Unsupported  ResourceEndianFilterPtr

Under Evaluation  ResourceFileAlreadyOpenFSRef

Not available in Carbon.

Unsupported  RGetResource

There will be no ROM in Mac OS X, so this ROM-related function will not be supported. Not available in Carbon.

Unsupported  RsrcMapEntry

This function provides an interface based on the map handle format. You won't be able to use the map handle to walk the resource chain. Apple will provide a new API in Carbon for managing the resource chain. Not available in Carbon.

Unsupported  RsrcZoneInit

Not available in Carbon.

Supported  SetResAttrs

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetResFileAttrs

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetResInfo

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  setresinfo

Use SetResInfo instead. Not available in Carbon.

Supported  SetResLoad

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetResourceSize

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetResPurge

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  TempInsertROMMap

There will be no ROM in Mac OS X, so this ROM-related function will not be supported. Not available in Carbon.

Supported  Unique1ID

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  UniqueID

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  UpdateResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  UseResFile

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  WritePartialResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  WriteResource

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 5/11/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.